﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace F1010DB.Common
{
    public abstract class AbstractClassValidationBusiness : AbstractGetBridgeConnect
    {
        protected bool isBussiness(string sql, CommandType type , Dictionary<string, object> dictParameters)
        {
            return dbContext.readATable(sql, type, dictParameters).Rows.Count != 0;
        }
    }
}
